<?php
session_start();
include_once './c/config.php';
$openid=NULL;
if (isset($_SESSION['openid'])){
	$openid=$_SESSION['openid'];
}
if (!empty($openid)){
	$mysqli = new mysqli($dbhost, $dbuser, $dbpwd, $dbName);
	if (!$mysqli->set_charset("utf8")) {printf("Error loading character set utf8: %s\n", $mysqliTwo->error);}
	$mysqli->query("insert into log_ling (openid,createtime) values('".$openid."','".date("Y-m-d H:i:s")."') ");
}
header('Location: https://item.m.jd.com/product/3670985.html?&utm_source=iosapp&utm_medium=appshare&utm_campaign=t_335139774&utm_term=CopyURL&ad_od=share&ShareTm=CW5JZQ3RVcSYhlVhCDwgpM7MXzkNwQ0BNadoPNbbxkbA/KtNqsAoi2pxfSKBxxdrru3NgDzclrYrEuxw2u1bu0gkMXoeB3cBgFib0sJDEfa%2Befi%2BDAUZ3P7h2pSpaUp4OB38oNN5CsjbLkUIgV2wO2p%2BTZnn/aqt7Qf5a8M%2B8IM=');
exit;